﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Happy.Query.PetaPoco.Test.Stub
{
    public sealed class UserQuerySource : QuerySource<User>
    {
        private static readonly string _ConnectionString = @"Data Source=(LocalDB)\v11.0;AttachDbFilename=" + Environment.CurrentDirectory + @"\App_Data\PetaPocoDatabase.mdf;Integrated Security=True;Connect Timeout=30";
        private const string _ProviderName = "System.Data.SqlClient";

        public UserQuerySource()
            : base(_ConnectionString, _ProviderName, "Users")
        { }
    }
}
